
	
/****** Object:  Stored Procedure [dbo].tblFileUploadUpdate    Script Date: Thursday, October 27, 2011 ******/
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[sptblFileUploadUpdate]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)
drop procedure [dbo].[sptblFileUploadUpdate]
GO

	
	

	
/******************************************************************************
**		File: 
**		Name: [dbo].sptblFileUploadUpdate
**		Desc: 
**
**		Return values:
** 
**		Called by:   
**              
**		Parameters:
**		Input							Output
**     ----------							-----------
**
**		Auth: CodeSmith
**		Date: 27/10/2011 17:41:36
*******************************************************************************
**		Change History
*******************************************************************************
**		Date:		Author:				Description:
**		--------		--------				-------------------------------------------
**    
*******************************************************************************/
CREATE PROCEDURE [dbo].sptblFileUploadUpdate
	@ID uniqueidentifier, 
	@FileName varchar(128), 
	@UploadDate datetime, 
	@UploadBy varchar(7), 
	@Path varchar(128), 
	@FileType int, 
	@Status int 
AS

UPDATE [dbo].[tblFileUpload] SET
	[FileName] = @FileName,
	[UploadDate] = @UploadDate,
	[UploadBy] = @UploadBy,
	[Path] = @Path,
	[FileType] = @FileType,
	[Status] = @Status
WHERE
	[ID] = @ID

GO
